package com.cheng.operation;

import com.cheng.common.exception.CommonException;
import com.cheng.data.entity.UserInfoEntity;
import com.cheng.data.vo.UserInfoVO;

/**
 * @author: ChengJW
 * @date: 2021/11/04 21:09
 * @version: 1.0
 * @description: 登录操作相关逻辑处理
 */
public interface LoginOperation {

    /**
    * @author: ChengJW
    * @params: [entity]
    * @return: com.cheng.data.vo.UserInfoVO
    * @date: 2021/11/03
    * @description: shiro 登录
    */
    UserInfoVO userLogin(UserInfoEntity entity) throws CommonException;
}
